package com.macro.mall.tiny.modules.bms.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 广告查询参数
 */
@Data
@Schema(description = "广告查询参数")
public class AdvertQueryParam {

    @Schema(description = "广告位ID，用于筛选")
    private Integer positionId;

    @Schema(description = "广告名称，用于筛选")
    private String name;

    @Schema(description = "创建时间起始", example = "2025-11-21 01:52:34")
    private LocalDateTime startTime;

    @Schema(description = "创建时间结束", example = "2025-11-21 01:52:34")
    private LocalDateTime endTime;

    @Schema(description = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页数量", defaultValue = "10")
    private Integer pageSize = 10;
}